package com.demo.security.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Blob;
import java.time.LocalDateTime;

/**
 * Entity类
 *
 * @author liyan
 * @since 2020-06-27 13:50:49
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("oauth_code")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OauthCode implements Serializable {

    private static final long serialVersionUID = 11231L;

    @TableField("code")
    private String code;

    @TableField("authentication")
    private byte[] authentication;

    @TableField("create_time")
    private LocalDateTime createTime;
}
